package com.myres.biz;
import org.springframework.context.ApplicationContext;
import com.myres.dao.ShopDao;
import com.myres.model.Shop;
import com.myres.model.User;
import com.myres.spring.SpringUtils;

public class ShopBiz {
	private ShopDao shopDao;
	
	public ShopDao getShopDao() {
		return shopDao;
	}

	public void setShopDao(ShopDao shopDao) {
		this.shopDao = shopDao;
	}

	public long insertShop(Shop shop){
		  return shopDao.insertShop(shop);
	}
	public long insertUser(User user){
		return shopDao.insertUser(user);
	}
}
